<?php

namespace App\Fallback;

use App\Rpc\Lib\PayInterface;
use Six\Rpc\Client\Annotation\Mapping\Fallback;

/**
 * Class PayServiceFallback
 * @package App\Fallback
 * @Fallback(name="payFallback",version="1.0")
 */
class PayServiceFallback implements PayInterface
{
    public function pay():array
    {
        return ['降级处理:服务开小差了,请稍后再试'];
    }
}
